<?php
$pdo = require_once 'Mysql.php';
$class_id = $_GET['class_id'];
$query = $pdo->query("SELECT * FROM bd_goods WHERE supplier_id = 67 AND two_class=$class_id");
$class_list = $query->fetchAll(PDO::FETCH_ASSOC);
if($class_list){
    echo json_encode($class_list);
}else{
    echo 'no';
}